package org.xshop.model;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import top.ibase4j.core.base.BaseModel;

/**
 * <p>
 * 商品属性
 * </p>
 *
 * @author ShenHuaJie
 * @since 2017-03-19
 */
@TableName("t_goods_attribute")
@SuppressWarnings("serial")
public class TGoodsAttribute extends BaseModel {

    /**
     * 商品编号
     */
	@TableField("goods_id")
	private Long goodsId;
    /**
     * 属性类型
     */
	@TableField("attribute_name")
	private String attributeName;
    /**
     * 属性值
     */
	@TableField("attribute_value")
	private String attributeValue;
    /**
     * 对价格的影响
     */
	@TableField("effect_price")
	private BigDecimal effectPrice;
    /**
     * 库存
     */
	@TableField("stock_")
	private String stock;
    /**
     * 图片
     */
	@TableField("attribute_picture")
	private String attributePicture;


	public Long getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}

	public String getAttributeName() {
		return attributeName;
	}

	public void setAttributeName(String attributeName) {
		this.attributeName = attributeName;
	}

	public String getAttributeValue() {
		return attributeValue;
	}

	public void setAttributeValue(String attributeValue) {
		this.attributeValue = attributeValue;
	}

	public BigDecimal getEffectPrice() {
		return effectPrice;
	}

	public void setEffectPrice(BigDecimal effectPrice) {
		this.effectPrice = effectPrice;
	}

	public String getStock() {
		return stock;
	}

	public void setStock(String stock) {
		this.stock = stock;
	}

	public String getAttributePicture() {
		return attributePicture;
	}

	public void setAttributePicture(String attributePicture) {
		this.attributePicture = attributePicture;
	}

}